package com.naiterui.ehp.bp.bo.recommend;

import java.io.Serializable;
import java.util.Date;

/**
 * 推荐详情BO

 * @since 2.14
 */
public class MedicationRecomDetailBO implements Serializable {

    /**
     * 字段或域定义：<code>serialVersionUID</code>
     */
    private static final long serialVersionUID = 3075002457019795937L;
    private Long id;
    private Long recommendId;
    private Long pid;
    private Long skuId;
    private String name;
    private String commonName;
    private Integer quantity;
    private Date createdAt;
    private Date changedAt;
    /**
     * 用法用量
     */
    private String usages;

    /**
     * 备注
     */
    private String bakup;

    /**
     * 用量周期
     */
    private Double dosageCycle;

    /**
     * 用量周期单位
     */
    private String dosageCycleUnit;

    /**
     * 用量次数
     */
    private String dosageCount;

    /**
     * 每次用量
     */
    private String eachDosageCount;

    /**
     * 每次用量单位
     */
    private String eachDoseUnit;

    /**
     * 用药周期
     */
    private Double drugCycle;

    /**
     * 用药周期单位
     */
    private String drugCycleUnit;

    /**
     * 用药周期天数
     */
    private Double drugCycleDays;

    /**
     * 推荐数量单位
     */
    private String quantityUnit;

    /**
     * 服用方法
     */
    private String usageMethod;

    /**
     * 服用时间
     */
    private String usageTime;

    /**
     * 创建MedicationRecomDetail实例
     * @throws 异常信息
     */
    public MedicationRecomDetailBO() {
        super();
    }

    /**
     * 创建MedicationRecomDetail实例
     * @param recommendId
     * @param pid
     * @param name
     * @param commonName
     * @param quantity
     * @param usage
     * @param bakup
     * @param createdAt
     * @param changedAt
     * @throws 异常信息
     */
    public MedicationRecomDetailBO(Long recommendId, Long pid, Long skuId, String name, String commonName, Integer quantity, String extId,
            String usages, String bakup) {
        super();
        this.recommendId = recommendId;
        this.pid = pid;
        this.skuId = skuId;
        this.name = name;
        this.commonName = commonName;
        this.quantity = quantity;
        this.createdAt = new Date();
        this.changedAt = new Date();
        this.usages = usages;
        this.bakup = bakup;
    }

    public MedicationRecomDetailBO(Long id, Long recommendId, Long pid, Long skuId, String name, String commonName, Integer quantity, Date createdAt,
            Date changedAt, String usages, String bakup, Double dosageCycle, String dosageCycleUnit, String dosageCount, String eachDosageCount,
            String eachDoseUnit, Double drugCycle, String drugCycleUnit, Double drugCycleDays, String quantityUnit, String usageMethod, String usageTime) {
        super();
        this.id = id;
        this.recommendId = recommendId;
        this.pid = pid;
        this.skuId = skuId;
        this.name = name;
        this.commonName = commonName;
        this.quantity = quantity;
        this.createdAt = createdAt;
        this.changedAt = changedAt;
        this.usages = usages;
        this.bakup = bakup;
        this.dosageCycle = dosageCycle;
        this.dosageCycleUnit = dosageCycleUnit;
        this.dosageCount = dosageCount;
        this.eachDosageCount = eachDosageCount;
        this.eachDoseUnit = eachDoseUnit;
        this.drugCycle = drugCycle;
        this.drugCycleUnit = drugCycleUnit;
        this.quantityUnit = quantityUnit;
        this.usageMethod = usageMethod;
        this.usageTime = usageTime;
        this.drugCycleDays = drugCycleDays;
    }

    /**
     * @return Long 取得域 id 的方法。
     */
    public Long getId() {
        return id;
    }

    /**
     * @param id 对域 id 的设置方法.
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * @return Long 取得域 recommendId 的方法。
     */
    public Long getRecommendId() {
        return recommendId;
    }

    /**
     * @param recommendId 对域 recommendId 的设置方法.
     */
    public void setRecommendId(Long recommendId) {
        this.recommendId = recommendId;
    }

    /**
     * @return Long 取得域 pid 的方法。
     */
    public Long getPid() {
        return pid;
    }

    /**
     * @param pid 对域 pid 的设置方法.
     */
    public void setPid(Long pid) {
        this.pid = pid;
    }

    /**
     * @return Long 取得域 skuId 的方法。
     */
    public Long getSkuId() {
        return skuId;
    }

    /**
     * @param skuId 对域 skuId 的设置方法.
     */
    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }

    /**
     * @return String 取得域 name 的方法。
     */
    public String getName() {
        return name;
    }

    /**
     * @param name 对域 name 的设置方法.
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return String 取得域 commonName 的方法。
     */
    public String getCommonName() {
        return commonName;
    }

    /**
     * @param commonName 对域 commonName 的设置方法.
     */
    public void setCommonName(String commonName) {
        this.commonName = commonName;
    }

    /**
     * @return Integer 取得域 quantity 的方法。
     */
    public Integer getQuantity() {
        return quantity;
    }

    /**
     * @param quantity 对域 quantity 的设置方法.
     */
    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    /**
     * @return Date 取得域 createdAt 的方法。
     */
    public Date getCreatedAt() {
        return createdAt;
    }

    /**
     * @param createdAt 对域 createdAt 的设置方法.
     */
    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    /**
     * @return Date 取得域 changedAt 的方法。
     */
    public Date getChangedAt() {
        return changedAt;
    }

    /**
     * @param changedAt 对域 changedAt 的设置方法.
     */
    public void setChangedAt(Date changedAt) {
        this.changedAt = changedAt;
    }

    /**
     * @return String 取得域 usages 的方法。
     */
    public String getUsages() {
        return usages;
    }

    /**
     * @param usages 对域 usages 的设置方法.
     */
    public void setUsages(String usages) {
        this.usages = usages;
    }

    /**
     * @return String 取得域 bakup 的方法。
     */
    public String getBakup() {
        return bakup;
    }

    /**
     * @param bakup 对域 bakup 的设置方法.
     */
    public void setBakup(String bakup) {
        this.bakup = bakup;
    }

    public Double getDosageCycle() {
        return dosageCycle;
    }

    public String getDosageCycleUnit() {
        return dosageCycleUnit;
    }

    public String getDosageCount() {
        return dosageCount;
    }

    public String getEachDosageCount() {
        return eachDosageCount;
    }

    public String getEachDoseUnit() {
        return eachDoseUnit;
    }

    public Double getDrugCycle() {
        return drugCycle;
    }

    public String getDrugCycleUnit() {
        return drugCycleUnit;
    }

    public String getQuantityUnit() {
        return quantityUnit;
    }

    public String getUsageMethod() {
        return usageMethod;
    }

    public String getUsageTime() {
        return usageTime;
    }

    public void setDosageCycle(Double dosageCycle) {
        this.dosageCycle = dosageCycle;
    }

    public void setDosageCycleUnit(String dosageCycleUnit) {
        this.dosageCycleUnit = dosageCycleUnit;
    }

    public void setDosageCount(String dosageCount) {
        this.dosageCount = dosageCount;
    }

    public void setEachDosageCount(String eachDosageCount) {
        this.eachDosageCount = eachDosageCount;
    }

    public void setEachDoseUnit(String eachDoseUnit) {
        this.eachDoseUnit = eachDoseUnit;
    }

    public void setDrugCycle(Double drugCycle) {
        this.drugCycle = drugCycle;
    }

    public void setDrugCycleUnit(String drugCycleUnit) {
        this.drugCycleUnit = drugCycleUnit;
    }

    public void setQuantityUnit(String quantityUnit) {
        this.quantityUnit = quantityUnit;
    }

    public void setUsageMethod(String usageMethod) {
        this.usageMethod = usageMethod;
    }

    public void setUsageTime(String usageTime) {
        this.usageTime = usageTime;
    }

    public Double getDrugCycleDays() {
        return drugCycleDays;
    }

    public void setDrugCycleDays(Double drugCycleDays) {
        this.drugCycleDays = drugCycleDays;
    }
}